Datatable Sorting
Command Prototype
dtTable = Datatable.SortDataTable(dtTable,columns,bAscSort)
Command Description
Sort the specified column of a datatable
Parameter Description
- Required Parameter
- dtTable--Target datatable
- columns--Data columns to be sorted, can be filled with strings or numbers. Sort the column named "string" if filled with strings; sort multiple columns in the array if filled with an array
- bAscSort--Whether to sort in ascending order, if choose no, sort in descending order
- return
- dtTable--The variable used to save the output of the function call